package org.f0rb.demo.model.privilege;


import org.f0rb.core.web.WebModel;

/**
 * Class com.oliveoffice.demo.privilege description goes here.
 *
 * @author Administrator
 * @version 1.0.0 11-10-6
 */
public class Privilege extends WebModel<Privilege> {
    public Integer id;
    public String name;

    @Override
    public Privilege fillInModel(Privilege privilege) {
        privilege.id = id;
        privilege.name = name;
        return privilege;
    }

    @Override
    public String model() {
        return "Privilege";
    }

    @Override
    public void fillByModel(final Privilege privilege) {
        id = privilege.id;
        name = privilege.name;
    }
}
